package com.sgcc.pda.mdrh.zoom.router;

import android.content.Context;

import com.sgcc.pda.hzaidl.entity.RequestBean;

/**
 * Created by cj on 2019/12/2.
 */
public abstract class BaseOperateRouter {

    public abstract String handleResult(Context context, RequestBean requestBean, CompleteListener completeListener);

    public interface CompleteListener {
        /**
         * 各router执行完任务的回调
         * retCode==1 成功回调
         * retCode==0 失败回调
         * retCode==2 过程回调
         */
        void complete(int retCode, String result);

    }

}
